<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="common/include :: header('审批')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-edit">
		<input name ="id" type="hidden" th:value="${id}">
		<div class="form-group">
			<label class="col-sm-3 control-label">审批意见：</label>
			<div class="col-sm-8">
				<select name="auditStatus" class="form-control m-b">
					<option value="2">同意</option>
					<option value="1">拒绝</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">批注：</label>
			<div class="col-sm-8">
				<textarea name="info" class="form-control"></textarea>
			</div>
		</div>
	</form>
</div>
<th:block th:include="common/include :: footer" />
<script th:inline="javascript">
	var prefix = "/business/carPackageAudit";
	$("#form-leave-edit").validate({
		focusCleanup: true
	});
	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/audit", $('#form-edit').serialize());
		}
	}
</script>
</body>
</html>